Add ref to array() and object() of JSONValue getters to add new element

Continuation of https://github.com/D-Programming-Language/phobos/pull/1421

New JSONValue API can't add new element to array or object directly.
Making array / object getter ref return fuction fix this problem.