Fix incorrect RapidJson usage in Docker plugin.

RapidJson array doesn't copy strings, which are pushed to it. Now the plugin stores all data while RapidJson object is used.