Replaced TPS type with generic JSON.

Did this in prep for work with spine.