fixed indentation bug + added json gem