Don't you need to format this response differently for json formats?