Convert your arrays in valid json string.