Implements partial json functions for User, Post, Comment and Timeline models.