automatic json handling of posts in the new methods