Get people page working with Ruby backend.

- Also rename methods to clarify between those that return a hash ready to convert to a JSON string and those that return a string representing the final generated JSON.