Little code reogranize, added json inception writers.