Include selection type info in result json