check multiple spaces in oneline objec / array defination