Should we allow other types of contents maybe? Returning json everywhere may not be what we want.