minor changes: grid array into json