a simple plugin that rendres the post in JSON format