Add a CSS max-width:100% to all images in entries, while at the same time removing any height or width attributes.

This should adjust images in entries to their available width in the page, while keeping the aspect ratio.
Add content and summary fields to JSON for an entry only if each field has value, respectively.