made group gid placement optional in json + tweaks...

Signed-off-by: Alex A. Naanou <alex.nanou@gmail.com>