If the field is an image field then the only way that ACF stores the value is using the ID.
When you say that you are grabbing the post data with JSON, can you be more specific? I’m not sure what you mean here. Can you supply code that shows the process you’re using to get the data?