Capitalise the structure names so that the json output is consistent wit...

...h docker 0.6.5 and before (Closes #2601)

@vieux ?