Start moving property names to object.

Base to allow #1.
Move names of time properties to variable.
Allow results array in JSON response.