create json array, store objects in hidden div. search json names